<?php
include APPPATH . 'views/cms/inc/01_head.php';
include APPPATH . 'views/cms/inc/05_top.php';
?>
<!-- Content container -->
<div id="container">
    <?php include APPPATH . 'views/cms/inc/04_cp_slidebar.php'; ?>
    <script type="text/javascript" src="/libraries/cms/cp/cp.tc_block.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
			TC_BLOCK_CONFIG.TYPE='<?php echo $type?>';
            TC_BLOCK.onInit();
			$('.navi-block-<?php echo $type?>').addClass('current');
        });
    </script>

    <!-- Content -->
    <div id="content">

        <!-- Content wrapper -->
        <div class="wrapper">

            <!-- Breadcrumbs line -->
            <div class="crumbs">
                <ul id="breadcrumbs" class="breadcrumb"> 
                    <li><a href="">CMS</a></li>
                    <li ><a href="#" title="">Content Provider</a></li>
                    <li class="active"><a href="#" title="">Home Page Block</a></li>
                </ul>

                <ul class="alt-buttons">
                    <li><a href="#" title=""><i class="icon-signal"></i><span>Stats</span></a></li>
                    <li><a href="#" title=""><i class="icon-comments"></i><span>Messages</span></a></li>
                    <li class="dropdown"><a href="/cms/ho" title="" ><i class="icon-tasks"></i><span>Tasks</span> <strong>(+16)</strong></a>
                        
                    </li>
                </ul>
            </div>
            <!-- /breadcrumbs line -->

            <div class="actions-wrapper">
				<div class="wrapper" style="padding-top:20px">
					<div class="widget" id="viewport">
						<div class="navbar" >
							<div class="navbar-inner" style="position:relative">
								<h6><i class=" ico-th-large"></i>Home Page Block</h6>
								
							</div>
						</div>
						<ul class="toolbar">
							<li><a href="#" title="Add entry" onclick="TC_BLOCK.onAddItem()"><i class="icon-plus"></i><span>ADD</span></a></li>
							<li><a href="#" title="Refresh" onclick="TC_BLOCK.onRefresh()"><i class="icon-refresh"></i><span>REFRESH</span></a></li>
						</ul>

						<div class="table-overflow">
							<div style="border-top:1px solid #d5d5d5;padding: 4px 8px">
								Đoạn Lorem Ipsum chuẩn, được sử dụng từ những năm 1500
							</div>
							<table class="table table-striped table-bordered" id="data_table">       
								<thead>
									<tr>
										<th>&nbsp;</th>
										<th>Title</th>
										<th>Position</th>
										<th>Created</th>
										<th>Modified</th>
										<th>&nbsp;</th>
									</tr>
								</thead>
								<tbody>

								</tbody>
							</table>
						</div>
					</div>
					<!-- /default datatable -->
					<div id="_edit_panel_insite" class="widget">
						<div class="base_loading" style="display: none;height: 60px"></div>
					</div>
					<div id="dialog-edit-panel" style="display: none">
						<div class="base-dialog-modal" style="-height: 240px;width: 320px">
							<div class="base_loading" style="display: block;height: 60px"></div>
						</div>
					</div>
				</div>
			</div>
						
        </div>
        <!-- /content wrapper -->

    </div>
    <!-- /content -->
<style>
table td.gridAction{padding:4px;text-align:center;}
</style>
</div>
<!-- /content container -->
<?php include APPPATH . 'views/cms/inc/02_foot.php'; ?>


